package com.donquijote.spring14real.service;

import org.springframework.stereotype.Service;

/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-29 19:22
 */

@Service("bankService")
public class BankService {

    public void savingMoney(){
        System.out.println("用户正在存款...");
        throw new RuntimeException("存款异常 大额假钞存款");
    }

    public void drawingMoney(){
        System.out.println("用户正在取款...");
    }
}
